package com.xlh.pojo.course;

import java.io.Serializable;
import java.util.Date;

public class ChapterBasic implements Serializable {
    /**
     * 章节id
     *
     * @mbg.generated
     */
    private Long id;

    /**
     * 章节名称
     *
     * @mbg.generated
     */
    private String name;

    /**
     * 类型 1：理论课 2：实验课 3：理论课及实验课
     *
     * @mbg.generated
     */
    private Integer type;

    /**
     * 简介
     *
     * @mbg.generated
     */
    private String introduction;

    /**
     * 技术，用逗号分隔每个技术id
     *
     * @mbg.generated
     */
    private String technologyIds;

    /**
     * 是否删除 0：未删除 1：已删除
     *
     * @mbg.generated
     */
    private Boolean deleted;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 更新时间
     *
     * @mbg.generated
     */
    private Date updateTime;
    /**
     * 显隐
     *
     * @mbg.generated
     */
    private Integer falg;

    /**
     * 步骤类型 1:单步骤实验 2：多步骤实验
     *
     * @mbg.generated
     */
    private Integer stepType;

    public Integer getFalg() {
        return falg;
    }

    public void setFalg(Integer falg) {
        this.falg = falg;
    }

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public String getTechnologyIds() {
        return technologyIds;
    }

    public void setTechnologyIds(String technologyIds) {
        this.technologyIds = technologyIds;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getStepType() {
        return stepType;
    }

    public void setStepType(Integer stepType) {
        this.stepType = stepType;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", type=").append(type);
        sb.append(", introduction=").append(introduction);
        sb.append(", technologyIds=").append(technologyIds);
        sb.append(", deleted=").append(deleted);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append(", falg=").append(falg);
        sb.append(", stepType=").append(stepType);
        sb.append("]");
        return sb.toString();
    }
}